package com.turnengine.client.global.translation.command.gwt;

import com.google.common.annotations.GwtCompatible;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.javabi.codebuilder.generated.gwt.IGeneratedRemoteService;
import com.javabi.command.errorcode.gwt.GwtErrorCodeException;
import com.javabi.common.locale.LanguageCountry;
import com.turnengine.client.global.translation.bean.ITranslation;

/**
 * The Get Translation By Text Service.
 */
@GwtCompatible
@RemoteServiceRelativePath("GetTranslationByTextService")
public interface GetTranslationByTextService extends RemoteService, IGeneratedRemoteService {

	ITranslation getTranslationByText(String english, LanguageCountry language) throws GwtErrorCodeException;
}
